///////////////////////////////////////////////////////////////////////////////
// The Archimeds project 
//
// C++ Implementation: dlginflationconfirm
//
// Description: 
//
//
// Author: Archimedes Projekt <thelsb@gmail.com>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
////////////////////////////////////////////////////////////////////////////////
#include "dlginflationconfirm.h"
#include <QtDebug>

DlgInflationConfirm::DlgInflationConfirm(QWidget *parent)
 : QDialog(parent)
{
    ui.setupUi(this); 
    //ui.btnAbort->replaceStatePixmap(PStyledButton::disabled,QPixmap(":images/common/btn_abort_inactive.png"));
    //ui.btnAbort->replaceStatePixmap(PStyledButton::off,QPixmap(":images/common/btn_abort_inactive.png"));
    //ui.btnAbort->replaceStatePixmap(PStyledButton::off_mouseOver,QPixmap(":images/common/btn_abort_pressed.png"));
    ui.btnAbort->replaceStatePixmap(PStyledButton::off_pressed,QPixmap(":images/common/btn_abort_pressed.png"));
    //ui.btnAbort->replaceStatePixmap(PStyledButton::on_pressed,QPixmap(":images/common/btn_abort_pressed.png"));
    
    ui.btnConfirm->replaceStatePixmap(PStyledButton::off_pressed,QPixmap(":images/modules/servcon/inflation/btn_confirm_igss_manual_override_mode_pressed"));
    
    
    connect(ui.btnAbort,SIGNAL(clicked()),this,SLOT(reject()));
    connect(ui.btnConfirm,SIGNAL(clicked()),this,SLOT(accept()));
//     ui.styledButtonExitManualMode->replaceStatePixmap(PStyledButton::disabled, QPixmap(":/images/modules/servcon/inflation/btn_exit_manual_mode_disabled.png"));
//     ui.styledButtonExitManualMode->replaceStatePixmap(PStyledButton::off, QPixmap(":/images/modules/servcon/inflation/btn_exit_manual_mode_inactive.png"));
//     ui.styledButtonExitManualMode->replaceStatePixmap(PStyledButton::on_pressed, QPixmap(":/images/modules/servcon/inflation/btn_exit_manual_mode_pressed.png"));//illeagal state
//     ui.styledButtonExitManualMode->replaceStatePixmap(PStyledButton::off_pressed, QPixmap(":/images/modules/servcon/inflation/btn_exit_manual_mode_pressed.png"));//illeagal state
//     ui.styledButtonExitManualMode->replaceStatePixmap(PStyledButton::on, QPixmap(":/images/modules/servcon/inflation/btn_exit_manual_mode_active.png"));//illeagal state
    
}


DlgInflationConfirm::~DlgInflationConfirm()
{
}




